/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package imclient;

import imclient.IMClientForm.AdvertisementRotator;
import java.io.File;
import java.util.HashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFrame;

/**
 * Class for IM Client. Main Method contained here
 *
 * @author andrew
 */
public class IMClient {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws Exception {

        //create instance IMClientForm
        IMClientForm thisForm = new IMClientForm();
        //create instance of the inner class. 
        IMClientForm.AdvertisementRotator test = thisForm.new AdvertisementRotator();
        thisForm.setVisible(true);
        //implement the thread
        Thread thisThread = new Thread(test);
        thisThread.start();
         
      
          
         



            // TODO code application logic here
    }   
}
